<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后街、后街交友、同城交友、交友</title>
<meta name="keywords" content="后街、后街交友、同城交友、交友、交友平台">
<script src="${pageContext.request.contextPath}/js/jquery-1.7.2.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/customer/ucenter.css">
<meta name="description"
	content="寻找志同道合的朋友；交友、聊天、游戏、泡吧，让您在忙碌的工作之余,找到志同道合的朋友,享受快乐人生.">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<script type="text/javascript">
	function showLink(){
		$(this).find('.ucenter-pic a').css('display', 'block');
	}
</script>
</head>
<body>
	<!--头部 s-->
	<c:import url="../common/newHeader.jsp"></c:import>
	<!--头部 e-->
	<div class="w980 clearfix"></div>


	<div class="ucenter">
            <div class="hr"></div>
            <ul val="favorites" id="left_menu" class="nav">
            <!--left menu s-->
			<li><a val="user" 
				href="${pageContext.request.contextPath}/customerDefault/ucenterIndex.aspx" 
				class="icon_my"><span>我的后街</span></a></li>
			<li><a val="editInfo" 
				href="${pageContext.request.contextPath}/customerDefault/ucenterAccount.aspx" 
				class="icon_acc"><span>我的帐号</span></a></li>
			<li><a val="favorites" 
				href="${pageContext.request.contextPath}/customerDefault/ucenterCollection.aspx"
				class="icon_fav cur"><span>我的收藏</span></a></li>
			<li><a val="invite"
				href="${pageContext.request.contextPath}/customerDefault/ucenterInvite.aspx"
				class="icon_invite"><span>注册邀请</span></a></li>
			<li><a val="integral"
				href="${pageContext.request.contextPath}/customerDefault/ucenterCredit.aspx"
				class="icon_integral"><span>我的积分</span></a></li>
			<li><a val="panicBuy"
				href="${pageContext.request.contextPath}/customerDefault/ucenterPublish.aspx"
				class="icon_buy"><span>信息发布</span></a></li>
			<script type="text/javascript">
				$(function(){
					var $left_menu = $('#left_menu');
					$left_menu.find('a').each(function(){
						if($left_menu.attr('val') == $(this).attr('val'))
							$(this).addClass('cur');
					});
				});
			</script>
		      	<!--left menu e-->
            </ul>
            <div class="ucenter-body clear-fix ucenter-account">
                <div class="ucenter-h3 ucenter-account-h3"><div><span></span>&nbsp;我的收藏</div><div class="line"></div></div>
                	<c:choose>
                		<c:when test="${collects eq null or collects.size()<1}">
                			<div class="collect-empty">
			                	<span>您目前还没有任何收藏</span>
			                </div>
                		</c:when>
                		<c:otherwise>
                			<div class="collect-empty" style="margin-left: 40px;margin-top: 20px;">
                			<table border="1">
	                			<c:forEach items="${collects}" var="collect">
	                				<tr>
	                					<td width="400">
	                						<a style="text-decoration: underline;" href="${pageContext.request.contextPath}/${collect.url}" target="_blank">${collect.description}</a>
	                					</td>
	                					<td width="150">
	                						<c:choose>
	                							<c:when test="${'sinfo' eq collect.type}">
	                								综合信息
	                							</c:when>
	                							<c:otherwise>
	                								帖子信息
	                							</c:otherwise>
	                						</c:choose>
	                					</td>
	                					<td width="150">
	                						<a style="text-decoration: underline;" href="javascript:void(0);">取消收藏</a>
	                					</td>
	                				</tr>
	                			</c:forEach>
                			</table>
                			</div>
                		</c:otherwise>
                	</c:choose>
            </div>
        </div>


	<!--footer s-->
	<c:import url="../common/newFooter.jsp"></c:import>
	<!--footer e-->

</body>
</html>